notHeldErr = -621, /*specified range of memory is not held*/
cannotMakeContiguousErr = -622, /*cannot make specified range contiguous*/
notLockedErr = -623 /*specified range of memory is not locked*/
};
enum {
interruptsMaskedErr = -624, /*don’t call with interrupts masked*/
cannotDeferErr = -625, /*unable to defer additional functions*/
ddpSktErr = -91, /*error in soket number*/
ddpLenErr = -92, /*data length too big*/
noBridgeErr = -93, /*no network bridge for non-local send*/
lapProtErr = -94, /*error in attaching/detaching protocol*/
excessCollsns = -95, /*excessive collisions on write*/
portInUse = -97, /*driver Open error code (port is in use)*/
portNotCf = -98, /*driver Open error code (parameter RAM not configured for this connection)*/
nbpBuffOvr = -1024, /*Buffer overflow in LookupName*/
nbpNoConfirm = -1025,
nbpConfDiff = -1026, /*Name confirmed at different socket*/
nbpDuplicate = -1027, /*Duplicate name exists already*/
nbpNotFound = -1028, /*Name not found on remove*/
nbpNISErr = -1029, /*Error trying to open the NIS*/
aspBadVersNum = -1066, /*Server cannot support this ASP version*/
aspBufTooSmall = -1067, /*Buffer too small*/
aspNoMoreSess = -1068, /*No more sessions on server*/
aspNoServers = -1069, /*No servers at that address*/
aspParamErr = -1070 /*Parameter error*/
};
enum {
aspServerBusy = -1071, /*Server cannot open another session*/
aspSessClosed = -1072, /*Session closed*/
aspSizeErr = -1073, /*Command block too big*/
aspTooMany = -1074, /*Too many clients (server error)*/
aspNoAck = -1075, /*No ack on attention request (server err)*/
reqFailed = -1096,
tooManyReqs = -1097,
tooManySkts = -1098,
badATPSkt = -1099,
badBuffNum = -1100,
noRelErr = -1101,
cbNotFound = -1102,
noSendResp = -1103,
noDataArea = -1104,
reqAborted = -1105,
buf2SmallErr = -3101,
noMPPErr = -3102,
ckSumErr = -3103,
extractErr = -3104,
readQErr = -3105
};
enum {
atpLenErr = -3106,
atpBadRsp = -3107,
recNotFnd = -3108,
sktClosedErr = -3109,
afpAccessDenied = -5000,
afpAuthContinue = -5001,
afpBadUAM = -5002,
afpBadVersNum = -5003,
afpBitmapErr = -5004,
afpCantMove = -5005,
afpDenyConflict = -5006,
afpDirNotEmpty = -5007,
afpDiskFull = -5008,
afpEofError = -5009,
afpFileBusy = -5010,
afpFlatVol = -5011,
afpItemNotFound = -5012,
afpLockErr = -5013,
afpMiscErr = -5014,
afpNoMoreLocks = -5015
};
enum {
afpNoServer = -5016,
afpObjectExists = -5017,
afpObjectNotFound = -5018,
afpParmErr = -5019,
afpRangeNotLocked = -5020,
afpRangeOverlap = -5021,
afpSessClosed = -5022,
afpUserNotAuth = -5023,
afpCallNotSupported = -5024,
afpObjectTypeErr = -5025,
afpTooManyFilesOpen = -5026,
afpServerGoingDown = -5027,
afpCantRename = -5028,
afpDirNotFound = -5029,
afpIconTypeError = -5030,
afpVolLocked = -5031, /*Volume is Read-Only*/
afpObjectLocked = -5032, /*Object is M/R/D/W inhibited*/
afpContainsSharedErr = -5033, /*$FFFFEC57 the folder being shared contains a shared folder */
afpIDNotFound = -5034, /*$FFFFEC56*/
afpIDExists = -5035 /*$FFFFEC55*/
};
enum {
afpDiffVolErr = -5036, /*$FFFFEC54*/
afpCatalogChanged = -5037, /*$FFFFEC53*/
afpSameObjectErr = -5038, /*$FFFFEC52*/
afpBadIDErr = -5039, /*$FFFFEC51*/
afpPwdSameErr = -5040, /*$FFFFEC50 someone tried to change their password to the same password on a mantadory password change */
afpPwdTooShortErr = -5041, /*$FFFFEC4F the password being set is too short: there is a minimum length that must be met or exceeded */
afpPwdExpiredErr = -5042, /*$FFFFEC4E the password being used is too old: this requires the user to change the password before log-in can continue */
afpInsideSharedErr = -5043, /*$FFFFEC4D the folder being shared is inside a shared folder OR the folder contains a shared folder and is being moved into a shared folder OR the folder contains a shared folder and is being moved into the descendent of a shared folder. */
afpInsideTrashErr = -5044, /*$FFFFEC4C the folder being shared is inside the trash folder OR the shared folder is being moved into the trash folder OR the folder is being moved to the trash and it contains a shared folder */
/*PPC errors*/
notInitErr = -900, /* PPCToolBox not initialized */
nameTypeErr = -902, /* Invalid or inappropriate locationKindSelector in locationName */
noPortErr = -903, /* Unable to open port or bad portRefNum */
noGlobalsErr = -904, /* The system is hosed, better re-boot */
localOnlyErr = -905, /* Network activity is currently disabled */
destPortErr = -906, /* Port does not exist at destination */
sessTableErr = -907, /* Out of session tables, try again later */
noSessionErr = -908, /* Invalid session reference number */
badReqErr = -909, /* bad parameter or invalid state for operation */
portNameExistsErr = -910, /* port is already open (perhaps in another app) */
noUserNameErr = -911 /* user name unknown on destination machine */
};
enum {
userRejectErr = -912, /* Destination rejected the session request */
noMachineNameErr = -913, /* user hasn't named his Macintosh in the Network Setup Control Panel */
noToolboxNameErr = -914, /* A system resource is missing, not too likely */
noResponseErr = -915, /* unable to contact destination */
portClosedErr = -916, /* port was closed */
sessClosedErr = -917, /* session was closed */
badPortNameErr = -919, /* PPCPortRec malformed */
noDefaultUserErr = -922, /* user hasn't typed in owners name in Network Setup Control Pannel */
notLoggedInErr = -923, /* The default userRefNum does not yet exist */
noUserRefErr = -924, /* unable to create a new userRefNum */
networkErr = -925, /* An error has occured in the network, not too likely */
noInformErr = -926, /* PPCStart failed because destination did not have inform pending */
authFailErr = -927, /* unable to authenticate user at destination */
noUserRecErr = -928, /* Invalid user reference number */
badServiceMethodErr = -930, /* illegal service type, or not supported */
badLocNameErr = -931, /* location name malformed */
guestNotAllowedErr = -932, /* destination port requires authentication */
dsBadSANEOpcode = 81, /*bad opcode given to SANE Pack4*/
dsBadPatchHeader = 83, /*SetTrapAddress saw the “come-from” header*/
menuPrgErr = 84, /*happens when a menu is purged*/
dsMBarNFnd = 85, /*Menu Manager Errors*/
dsHMenuFindErr = 86, /*Menu Manager Errors*/
dsWDEFNotFound = 87, /*could not load WDEF*/
dsCDEFNotFound = 88, /*could not load CDEF*/
dsMDEFNotFound = 89 /*could not load MDEF*/
};
enum {
dsNoFPU = 90, /*an FPU instruction was executed and the machine doesn’t have one*/
dsNoPatch = 98, /*Can't patch for particular Model Mac*/
dsBadPatch = 99, /*Can't load patch resource*/
dsParityErr = 101, /*memory parity error*/
dsOldSystem = 102, /*System is too old for this ROM*/
ds32BitMode = 103, /*booting in 32-bit on a 24-bit sys*/
dsNeedToWriteBootBlocks = 104, /*need to write new boot blocks*/
dsNotEnoughRAMToBoot = 105, /*must have at least 1.5MB of RAM to boot 7.0*/
dsBufPtrTooLow = 106, /*bufPtr moved too far during boot*/
dsReinsert = 30, /*request user to reinsert off-line volume*/
shutDownAlert = 42, /*handled like a shutdown error*/
dsShutDownOrRestart = 20000, /*user choice between ShutDown and Restart*/
dsSwitchOffOrRestart = 20001, /*user choice between switching off and Restart*/
dsForcedQuit = 20002, /*allow the user to ExitToShell, return if Cancel*/
/*System Errors that are used after MacsBug is loaded to put up dialogs since these should not cause MacsBug to stop, they must be in the range (30, 42, 16384-32767) negative numbers add to an existing dialog without putting up a whole new dialog*/